var path = require("path");
daoModule = require("./DAO");
databaseModule = require(path.join(process.cwd(),"modules/database"));
/**
 * 查询条件获取系统信息
 */
module.exports.findOne = function(conditions,cb) {
    console.log('更2222222新')
    daoModule.findOne("SystemConfigModel",conditions,cb);
}

//修改系统名称
module.exports.update = function(obj,cb) {
    console.log('更新')
    daoModule.update("SystemConfigModel",1, obj,cb);
}
